package com.system.xingzhi.dao.mapper;

import com.system.xingzhi.model.RolePermission;

import java.util.List;

public interface RolePermissionMapper {
    int deleteByPrimaryKey(String nodeId);

    int insert(RolePermission record);

    int insertSelective(RolePermission record);

    RolePermission selectByPrimaryKey(String nodeId);

    int updateByPrimaryKeySelective(RolePermission record);

    int updateByPrimaryKey(RolePermission record);

    List<RolePermission> selectByRoleId(String roleId);

    List<RolePermission> selectByParentId(String nodeId);

    List<RolePermission> selectAllInfoByRoleId(String roleId);

}